package com.xzy.ec.service.impl;

import com.xzy.ec.entity.PmsGoodsSpecsImages;
import com.xzy.ec.mapper.PmsGoodsSpecsImagesMapper;
import com.xzy.ec.service.IPmsGoodsSpecsImagesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author jobob
 * @since 2022-06-07
 */
@Service
public class PmsGoodsSpecsImagesServiceImpl extends ServiceImpl<PmsGoodsSpecsImagesMapper, PmsGoodsSpecsImages> implements IPmsGoodsSpecsImagesService {

    public boolean addImageUrl(Integer gid, String imageUrl) {
        return save(new PmsGoodsSpecsImages(gid,imageUrl));
    }
}
